package com.gong.DesignPattern.TemplatePattern;

/**
 * @author GongChang
 * @version 1.0
 * @date 2021/6/23 0023 8:55
 */
public abstract class Game {
    public abstract void init();
    public abstract void doing();
    public abstract void end();

    public final void doGame(){
        init();
        doing();
        end();
    }

}
